package com.tangruojie.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum Status {

    DISABLED(0, "禁用"),
    ENABLED(1, "正常");

    @EnumValue
    private final Integer value;
    @JsonValue
    private final String description;

}
